/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package src.report;

import src.services.CRUEDService;

/**
 *
 * @author Yusup Jauhari Shandi <in.visi>
 */
public class ReportCfgModel {
    private CRUEDService service;

    public ReportCfgModel() {
        service = new CRUEDService();
    }
    
     public String getFiltersById(Integer id) {
        Object ob =   service.getObjectSQL("select filters from ReportCfg "+
                "where reportId = "+id, null);
        if (ob!= null)
            return (String)ob;
        else
            return "";
    }
    
}
